package com.yunxin.core.infra.persistence.entity.order;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户申请分配订单归属账户表
 *
 * @author zero°
 * @since   2023-06-07
 */
public class OrderAllocationBelongToAccountDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 分配订单id
     */
    private Long allocationOrderId;

    /**
     * 原账户账户id
     */
    private Long originalAccountId;

    /**
     * 现账户id
     */
    private Long currentAccountId;

    /**
     * 开始归属时间
     */
    private Date belongToStartTime;

    /**
     * 结束归属时间
     */
    private Date belongToEndTime;

    /**
     * 标识删除 0.存在 1.删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAllocationOrderId() {
        return allocationOrderId;
    }

    public void setAllocationOrderId(Long allocationOrderId) {
        this.allocationOrderId = allocationOrderId;
    }

    public Long getOriginalAccountId() {
        return originalAccountId;
    }

    public void setOriginalAccountId(Long originalAccountId) {
        this.originalAccountId = originalAccountId;
    }

    public Long getCurrentAccountId() {
        return currentAccountId;
    }

    public void setCurrentAccountId(Long currentAccountId) {
        this.currentAccountId = currentAccountId;
    }

    public Date getBelongToStartTime() {
        return belongToStartTime;
    }

    public void setBelongToStartTime(Date belongToStartTime) {
        this.belongToStartTime = belongToStartTime;
    }

    public Date getBelongToEndTime() {
        return belongToEndTime;
    }

    public void setBelongToEndTime(Date belongToEndTime) {
        this.belongToEndTime = belongToEndTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}